package com.example.online_retailers.service;

import com.example.online_retailers.dto.Result;
import com.example.online_retailers.entity.Wallet;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;

/**
* @author 欣欣
* @description 针对表【wallet】的数据库操作Service
* @createDate 2023-03-20 16:21:24
*/
public interface WalletService extends IService<Wallet> {

    Result userPayMoney(Integer userId, BigDecimal money);

    Result userIncomeMoney(Integer userId, BigDecimal money);
}
